﻿using System;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using System.Collections.Generic;

namespace AssetManageSystem.Model.AssetManage
{
    /// <summary>
    /// 资产报废
    /// </summary>
    public class AssetScrap : PersistPoco
    {
        [Display(Name = "单据编号")]
        [Required(ErrorMessage = "Validate.{0}required")]
        public string DocNumber { get; set; }

        [Display(Name = "报废日期")]
        [Required(ErrorMessage = "Validate.{0}required")]
        public DateTime? OutDate { get; set; }

        public List<AssetInfo> AssetInfos { get; set; }
        public List<AssetScrapMiddleTable> AssetId { get; set; }


    }
}
